<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>欢迎</title>
    <style type="text/css">
        * {
            margin: 12px auto;
        }
        div {
            text-align: center;
        }
        table,td {
            border-collapse: collapse;
            border: 1px #00ffcc solid;
            text-align: center;
        }
    </style>
</head>
<body>
    <table style="width: 750px;">
        <tr style="background-color:#FF9800;">
            <td>姓名</td>
            <td>性别</td>
            <td>住址</td>
            <td>生日</td>
        </tr>
        <c:forEach items="${sysUserList}" var="sysUser" varStatus="status">
            <tr <c:if test="${status.index % 2 == 1}">style="background-color:rgb(219,241,212);"</c:if>>
                <td>${sysUser.realName}</td>
                <td>${sysUser.sex==0 ? "女" : "男"}</td>
                <td>${sysUser.address}</td>
                <td>${sysUser.birthdayFormat}</td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
